package com.bjfu.gmms.mapper;

import com.bjfu.gmms.pojo.PrimaryDisciplineInfo;

import java.util.List;

public interface PrimaryDisciplineInfoMapper {
    PrimaryDisciplineInfo selectById(String primaryDisciplineId);
    int insertPrimaryDisciplineInfo(PrimaryDisciplineInfo primaryDisciplineInfo);
    int updatePrimaryDisciplineInfo(PrimaryDisciplineInfo primaryDisciplineInfo);
    int deletePrimaryDisciplineInfo(String primaryDisciplineId);

    // 根据学院ID查找全部的一级学科
    List<PrimaryDisciplineInfo> selectByCollegeId(String collegeId);
}

